<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<title>论坛首页</title>
</head>
<body>
<table style="width: 1024px;" align="center">
	<tr>
		<td><s:include value="/common/header.jsp" />
			<div style="width: 100%;">主要板块</div>
			<table style="width: 100%;">
			  <tr>
			    <td width="" class="articleTitle">板块</td>
			    <td width="8%" class="articleTitle">主题</td>
			    <td width="10%" class="articleTitle">文章</td>
			    <td width="20%" class="articleTitle">最新文章</td>
			  </tr>
			   <s:iterator value="%{model}">
			   	<tr>
			   		<td class="articleContent">
			   			<s:url id="showList" value="/category/%{id}"/>
			   			<s:a href="%{showList}">
			   				<s:property value="categoryName"/>
			   			</s:a>
			   		</td>
			   		<td class="articleContent">
			   			<s:property value="articleNo"/>
			   		</td>
			   		<td class="articleContent">
			   			<s:property value="postNo"/>
			   		</td>
			   		<td class="articleContent">
			   			<s:property value="lastedPost"/>&nbsp;
			   		</td>
			   	</tr>
			   </s:iterator>
			</table>
		<s:include value="/common/footer.jsp" /></td>
	</tr>
</table>
</body>
</html>